package com.xbongbong.pro.rabbitmq.binders;

import com.xbongbong.pro.rabbitmq.constant.OrderCenterBinderConstant;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Service;

@Service("orderCenterProducerBinder")
public interface OrderCenterProducerBinder {

    @Output(OrderCenterBinderConstant.ORDER_OUTPUT)
    MessageChannel orderOutput();

    @Output(OrderCenterBinderConstant.DISTRIBUTOR_REFUND_OUTPUT)
    MessageChannel distributorRefundOutput();

}
